/**
 * 
 */
package com.easidea.tim.dao.temp;

import org.springside.core.dao.extend.HibernateEntityExtendDao;

import com.easidea.tim.entity.temp.TempInventory;

/**
 * @author Harrison
 *
 */
public class TempInventoryDao extends HibernateEntityExtendDao<TempInventory> {
	
	public Boolean deleteTempInventory(Long id){
		Boolean rst = false;
		if(id != null){
			TempInventory ti = get(id);
			if(ti != null){
				getHibernateTemplate().delete(ti);
				rst = true;
			}
		}
		return rst;
	}

}
